
'use strict';

import { Resource } from '../../common/types';
import { EQEnvironment } from '../../eqEnvironments/info';

export const IEnvironmentActivationService = Symbol('IEnvironmentActivationService');
export interface IEnvironmentActivationService {
    getActivatedEnvironmentVariables(
        resource: Resource,
        interpreter?: EQEnvironment,
        allowExceptions?: boolean,
    ): Promise<NodeJS.ProcessEnv | undefined>;
    getEnvironmentActivationShellCommands(
        resource: Resource,
        interpreter?: EQEnvironment,
    ): Promise<string[] | undefined>;
}
